@import 'color.less';
//规则弹窗按钮
.voteRul{
    position: fixed;
    right: 5%;
    bottom: 20%;
    background: rgb(209, 136, 228);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 800;
    box-shadow: 0px 0px 10px #f0f0f0;
    border: 1px solid #d787dc;
    a{
            display: block;
    width: 2em;
    height: 40px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    margin: 10px auto;
    }
    .isShow{
        color: #ffbba0;
    }
}
//详细规则
.voteRule{
    display: none;
    position: fixed;
    overflow: hidden;
    top: 16%;
    left: 0%;
    z-index: 10010;
    text-align: center;
    img{
        width: 90%;
        pointer-events: none;
        
        
    }
    &-btn{
        position: absolute;
        width: 50%;
        display: block;
        height: 46px;
        top: 80%;
        z-index: 1300;
        left: 24%;
        padding-top: 1px;
        img{
            width: 90%;
        }
    }
} 
//渐变背景
.linearbg{
    background:#cdace8; /* 一些不支持背景渐变的浏览器 */  
    background:-moz-linear-gradient(top,#ec8bcd, #cb86e6);
    background:-webkit-gradient(linear, 0 0, 0 bottom, from(#ec8bcd), to(#cb86e6));  
    background:-o-linear-gradient(top, #ec8bcd, #cb86e6); 
    height: auto;
    padding-bottom: 50px;
    div{
        z-index: 10;
    }
}
.bannerbox{
    img{
        width: 92%;
        margin:0 4%;
        margin-top: 40px;
    }
}
//用户弹窗
.alertuser{
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    margin: 10px 4%;
    overflow: hidden;
    height: 210px;
    position: relative;
    ul{
        height: auto;
        padding-top: 1px;
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
    }
    li{
        margin-bottom: 10px;
        display: flex;
        height: auto;
    }
    li:first-child{
        margin-top: 10px;
    }
    .Imgbox{
        width:80px;
        height: 40px;
    }
    img{
        width: 40px;
        height: 40px;
        border-radius: 20px;
        margin: 0 20px;
        pointer-events: none;
    }
    p{
        flex: 1;
        height: 40px;
        line-height: 40px;
        color: #fff;
    }
    i{
        display: inline-block;
        max-width: 3.6em;
        height: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-style: normal;
        vertical-align: top;
    }
}
//个人票数
.collarbox{
    width: 92%;
    margin:40px 4%;
    background: #fff;
    border-radius: 16px;
    height: auto;
    overflow: hidden;
    padding-top: 10px;
    p{
        height: auto;
        margin:10px;
        position: relative;
    }
    p:first-child{
        height: 86px;
        display: flex;
    }
    span{
        position: relative;
        display: block;
        height: 12px;
        background: #6a0074;
        border-radius: 4px;
        flex: 1;
    }
    span:first-child{
        margin-right: 8px;
    }
    span:last-child{
        margin-left: 8px;
    }
    i{
        position: absolute;
        display: block;
        width: 86%;
        height: 64px;
        background: #c287f0;
        border-radius: 8px;
        left: 7%;
        top: 8px;
        font-style: normal;
        text-align: center;
        line-height: 28px;
        font-size: 16px;
        color: #fff;
        padding-top: 10px;
    }
    img{
        width: 100%;
    }
    a{
       position: absolute;
       width: 100%;
       height: 100%;
       z-index: 100;
       left: 0;
       top:0;
    }
}